package moon.search.query.operator;

import java.util.ArrayList;
import java.util.List;

public class Union<E> implements Operator<E> {

	public List<E> operate(List<E> l1, List<E> l2) {
		List<E> result = new ArrayList<E>();
		for (E e : l1){
			result.add(e);
		}
		for (E e : l2){
			result.add(e);
		}		
		return result;
	}	
	
}
